package net.atos.excercise1;

import java.io.Serializable;

import com.google.common.base.Objects;

@SuppressWarnings("serial")
public class Book implements Serializable {

    private String author;
    private String name;

    public Book(String aAuthor, String aTitle) {
	author = aAuthor;
	name = aTitle;
    }

    @Override
    public String toString() {
	return Objects.toStringHelper(this).add("name", name).add("author", author).toString();
    }

    public String getAuthor() {
	return author;
    }

    public void setAuthor(String author) {
	this.author = author;
    }

    public String getName() {
	return name;
    }

    public void setName(String name) {
	this.name = name;
    }
}
